app.controller("homeLogListCtrl", function ($scope, $rootScope, $http, $sce) {
    $rootScope.activeSidebar = Class.getConstant('SIDEBAR_LOGLIST');
    var url = $rootScope.rootUrl + Http.ShowAppLogList;
    $http({method: "POST", url: url}).then(function (data) {
        $scope.logList = data.data.resultMap.data;
        for (var i = 0; i < $scope.logList.length; i++) {
            var text = $scope.logList[i].content.replace(/\n/g, '<br />');
            $scope.logList[i].content = $sce.trustAsHtml(text);
        }
    });
});